home *** CD-ROM | disk | FTP | other *** search
- Path: soap.news.pipex.net!pipex!usenet
- From: m.hendry@dial.pipex.com (Mathew Hendry)
- Newsgroups: comp.sys.amiga.audio
- Subject: Re: playing 14 bit samples. how?
- Date: Mon, 29 Jan 96 15:38:11
- Organization: Private node.
- Distribution: world
- Message-ID: <19960129.41AC30.DE15@ai035.du.pipex.com>
- References: <4e0eim$t24@tic.sm.dsi.unimi.it> <DLy420.C6K@cf.ac.uk>
- NNTP-Posting-Host: ai035.du.pipex.com
- X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
-
- My Prognosis is Psychosis... (A.M.Gimblett@cs.cf.ac.uk) wrote:
- : stefano caselli (caselli@dsi.unimi.it) wrote:
- : : I've found on Aminet some progs claiming to be able to play samples
- : : with 14 bit quality, using only the standard amiga audio hardware.
- : : I'd like to know how this can be done (if possible).
- : : Can someone post some text about it? (detailed explanations,please)
- :
- : As I understand it, the Amiga uses 8 bits for the actual sounds, plus
- : 6 for volume information. Put them together and you have 14 bits. I
- : believe this is how these programs work, ie they use all 14 bits for
- : the digitised sound (with volume info implicit, I guess?)...
-
- Not quite. The usual method uses two sound channels to play a 14 bit sample.
- Given a single sample, with bits numbered 0123456789ABCD, in decreasing order
- of significance, this is what is done:
-
- Channel 1, volume 64, play bits 01234567
-
- Channel 2, volume 1, play bits __89ABCD
-
- Bits marked "_" are permanently set to zero. Using different volumes on each
- channel effectively right shifts the sample on channel 2 by 6 bits relative to
- that on channel 1. So, the theory goes, adding the two together effectively
- gives you 14 bit output. Nonlinearities in the D/A converters and other
- defects hamper the playback quality, though. I'm not sure what tests have been
- done to measure the quality, but I'd imagine that noise and other factors make
- some of the least significant bits too distorted to be useful - the Amiga's
- audio D/A converters aren't really that accurate, and pick up a lot of
- interference from surrounding circuitry. Given this possibility, you might get
- similar quality output by only attempting to play, say, 12 bits, like so:
-
- Channel 1, volume 64, play bits 01234567
-
- Channel 2, volume 4, play bits ____89AB
-
- or any other variation.
-
- -- Mat.
-